/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const chartsRouter = {
  path: '/arbitrary',
  component: Layout,
  redirect: 'noRedirect',
  name: 'arbitrary',
  meta: {
    title: 'arbitrary',
    icon: 'line-chart'
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/arbitrary/index'),
      name: 'arbitrary' + 'Index',
      meta: {
        title: 'all group',
        noCache: true
      }
    },
    {
      path: 'past',
      component: () => import('@/views/arbitrary/past'),
      name: 'arbitrary' + 'Past',
      meta: {
        title: 'past',
        noCache: true
      }
    },
    {
      path: 'hot-cold',
      component: () => import('@/views/arbitrary/hot-cold'),
      name: 'arbitrary' + 'HotCold',
      meta: {
        title: 'hot cold',
        noCache: true
      }
    }
  ]
}

export default chartsRouter
